package communicationLogic;

import java.io.IOException;
import java.net.ConnectException;
import java.net.NoRouteToHostException;
import java.net.SocketTimeoutException;
import java.net.UnknownHostException;

public interface SocketInterface {
	public void connect() throws NoRouteToHostException, ConnectException, SocketTimeoutException, UnknownHostException, IOException;
	public void send(byte[] b) throws Exception;
	public byte[] receive() throws Exception;
}
